<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace Acesso\Model;

/**
 * Description of Login
 *
 * @author Renato.Laranjo
 */
class Login
{

    public $id;
    public $usuario;
    public $senha;

    public function exchangeArray( $data )
    {
        $this->id      = (isset( $data['id'] )) ? $data['id'] : null;
        $this->usuario = (isset( $data['usuario'] )) ? $data['usuario'] : null;
        $this->senha   = (isset( $data['senha'] )) ? $data['senha'] : null;

    }

}
